home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / cpp_libs / answrbok / shape.lha / shape / screen.h < prev    next >
Text File  |  1993-08-08  |  546b  |  30 lines

  1. ifndef SCREEN_H
  2. define SCREEN_H
  3. / file screen.h
  4.  
  5. onst XMAX = 80, YMAX = 60;
  6.  
  7. truct point {
  8.    int x, y;
  9.    point() {}
  10.    point(int a, int b) { x = a; y = b; }
  11. ;
  12.  
  13. verload put_point;
  14. xtern void put_point(int a, int b);
  15. nline void put_point(point p) { put_point(p.x, p.y); }
  16.  
  17. verload put_line;
  18. xtern void put_line(int, int, int, int);
  19. xtern void put_line(point a, point b);
  20.  
  21. xtern void screen_init();
  22. xtern void screen_refresh();
  23. xtern void screen_clear();
  24. xtern void screen_end();
  25.  
  26. num color { black = '*', white = ' ' };
  27.  
  28. include <stream.h>
  29. endif
  30.